package com.mlf.factory.easyFactory.spring;

import org.springframework.stereotype.Service;

@Service("PAYPAL")
class PayPalService implements PaymentService {
    @Override
    public void pay(double amount) {
        System.out.println("PayPal payment: " + amount);
    }
}